<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>moment</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center></center>
    <div align="right">Last update : 16/12/2004</div>
    <p>
      <b>moment</b> -   non central moments of all orders</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>mom=moment(x,ord)  </tt>
      </dd>
      <dd>
        <tt>mom=moment(x,ord,'r') or mom=moment(x,ord,1)  </tt>
      </dd>
      <dd>
        <tt>mom=moment(x,ord,'c') or mom=moment(x,ord,2)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>x</b>
        </tt>: real or complex vector or matrix</li>
      <li>
        <tt>
          <b>ord</b>
        </tt>: positive integer</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    moment<tt>
        <b>(x,ord)</b>
      </tt> is the non central moment or order ord
    of the elements of <tt>
        <b>x</b>
      </tt>.</p>
    <p>
    If a third  argument of  type string  <tt>
        <b>'r'</b>
      </tt>  (or <tt>
        <b> 1</b>
      </tt>) or <tt>
        <b>'c'</b>
      </tt> (or <tt>
        <b>  2</b>
      </tt>) is used,   we get in  the
    first  case,  a  row  vector   <tt>
        <b>   mom</b>
      </tt>   such  that
    <tt>
        <b>mom(j)</b>
      </tt> contains  the  non  central  moment of  order
    <tt>
        <b>ord</b>
      </tt> of     the    <tt>
        <b>j</b>
      </tt>     column    of  <tt>
        <b>x</b>
      </tt>.
    <tt>
        <b>moment(x,ord,'c')</b>
      </tt> is used in   the same way  for the
    non central moments in the rows.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

x=[0.2113249 0.0002211 0.6653811;0.7560439 0.3303271 0.6283918]
mom=moment(x,3)
mom=moment(x,2,'r')
mom=moment(x,3,'c')
 
  </pre>
    <h3>
      <font color="blue">Author</font>
    </h3>
    <p> Carlos Klimann</p>
    <h3>
      <font color="blue">Bibliography</font>
    </h3>
    <p>
    Wonacott, T.H. &amp; Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley &amp; Sons, 1990.</p>
  </body>
</html>
